package com.jluzh10.learning.dao;

import com.jluzh10.learning.domain.PictureCarousel;
import com.jluzh10.learning.domain.PictureCarouselExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PictureCarouselMapper {
    long countByExample(PictureCarouselExample example);

    int deleteByExample(PictureCarouselExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PictureCarousel record);

    int insertSelective(PictureCarousel record);

    List<PictureCarousel> selectByExample(PictureCarouselExample example);

    PictureCarousel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PictureCarousel record, @Param("example") PictureCarouselExample example);

    int updateByExample(@Param("record") PictureCarousel record, @Param("example") PictureCarouselExample example);

    int updateByPrimaryKeySelective(PictureCarousel record);

    int updateByPrimaryKey(PictureCarousel record);
}